package com.example.dnf.controller;

import lombok.Data;

@Data
public class Bpoint extends Point{
    public Bpoint(int index) {
        super(index);
    }
    public int getRuleIndex(){
        return Math.max(index - 1, 0);
    }
}
